package control;

import gui.tabs.ActionTab;

import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ActNewListener implements ActionListener {
	
	private ActionTab parent;
	
	public ActNewListener(ActionTab parent)
	{
		this.parent = parent;
	}
	
	protected void newBtnPressed()
	 {
//		 //clear fields and set editable
//		 tex.setText("");
//		 texA.setText("");
//		 tex.setBackground(Color.white);
//		 texA.setBackground(Color.white);
//		 tex.setEditable(true);
//		 texA.setEditable(true);
//
//		 isNew = true;
//		 System.out.println("isnew" + isNew);
	 }

	@Override
	public void actionPerformed(ActionEvent e) {
		newBtnPressed();
	}

}
